home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 1928 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  750 b 

  1. Path: news.bridge.net!news
  2. From: David Byrden <100101.2547@compuserve.com>
  3. Newsgroups: comp.lang.c++,comp.lang.c
  4. Subject: Re: Performance: C vs. C++
  5. Date: 14 Jan 1996 07:02:15 GMT
  6. Organization: self-employed
  7. Message-ID: <4da9pn$a45@news.bridge.net>
  8. References: <30F6BAAC.12B5@iastate.edu>
  9. NNTP-Posting-Host: ppp-mia2-95.bridge.net
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 1.1N (Windows; I; 16bit)
  14.  
  15.  
  16. Steve;
  17.  
  18. C and C++ are so similar that I would expect similar code to produce 
  19. almost identical performance. However, note that while virtual functions 
  20. cause overhead when you use them, exceptions in most present compilers can 
  21. cause overhead *at every function call*.
  22.  
  23.    David
  24.  
  25.  
  26.